package cn.melonlib.graphql.exceptions;

import lombok.Getter;

import java.util.LinkedList;

@Getter
public class GraphqlParseException extends Exception{

    private final Object tags;

    public GraphqlParseException(Object tags) {
        this.tags=tags;
    }

    public GraphqlParseException(String message,Object tags) {
        super(message);
        this.tags=tags;
    }

    public GraphqlParseException(String message, Throwable cause,Object tags) {
        super(message, cause);
        this.tags=tags;
    }

    public GraphqlParseException(Throwable cause,Object tags) {
        super(cause);
        this.tags=tags;
    }

    public GraphqlParseException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace,Object tags) {
        super(message, cause, enableSuppression, writableStackTrace);
        this.tags=tags;
    }
}
